package com.jiefeng.manager.service;

import com.jiefeng.manager.table.OrderInfo;
import com.jiefeng.manager.queryRequest.OrderInfoRequest;

import java.util.List;
import java.util.Map;

/**
 * Created by huangtongshuan on 2016/6/24 17:02.
 */
public interface PayService {
    /**
     * 默认分页查询
     */
    List<OrderInfo> getListBypage(OrderInfoRequest orderInfoRequest);

    /**
     * 按照id查询数据
     */
    public OrderInfo getOrderListById(String id);


    /**
     * 统计总数
     */
    public int getCount(OrderInfoRequest request);

    /**
     * 按照指定参数统计总数
     */
    public long countbyParam(Map<String, String> param);
}
